Atoms:

Maximum decimal places:

Alpha:

Tolerance:

Randomize colors:

This implements gradient descent. Therefore, the angles are not guarenteed to be exact or even converge for some chosen alpha and chosen tolerance (float imprecisions also exist).